@charset "UTF-8";
/*上传*/
.ifa_iframe_uploader {
  position: relative;
  /*定义滚动条高宽及背景 高宽分别对应横竖滚动条的尺寸*/
  ::-webkit-scrollbar {
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.75)
  }
  /*定义滚动条轨道 内阴影+圆角*/
  ::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.4);
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.4)
  }
  /*定义滑块 内阴影+圆角*/
  ::-webkit-scrollbar-thumb {
    border-radius: 15px;
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.4);
    background: rgba(0, 0, 0, 0.4)
  }

  p {
    margin: 0;
  }

  /*共有按钮*/
  .ifa_iframe_return {
    width: 172px;
    font-size: 16px;
    border: 1px solid #333;
    line-height: 46.4px;
    height: 46.4px;
    padding: 0 25px;
    *width: 120px;
    color: #333;
    background: #fff;
    display: inline-block;
    margin: 0 auto 20px auto;
    cursor: pointer;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
    svg {
      margin-right: 8px;
    }
  }

  /*第一屏*/
  .ifa_if_entry {
    .ifa_iframe_list {
      margin: 0px;
      width: 100%;
      height: 420px;
      background: #fff;
      &.ifa_iframe_filled {
        padding: 0px;
        margin: 0;
        overflow-y: scroll;
      }
      &.webuploader-dnd-over {
        border: 3px dashed #999999;
      }
    }
    /*按钮*/
    /*第一屏按钮*/
    .ifa_iframe_choose {
      width: 172px;
      font-size: 16px;
      border: 1px solid #333;
      line-height: 46.4px;
      height: 46.4px;
      padding: 0 25px;
      *width: 120px;
      color: #fff;
      background: #333;
      display: inline-block;
      margin: 0 auto 20px auto;
      cursor: pointer;
      box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
      svg {
        margin-right: 8px;
      }
    }
    .ifa_iframe_returnicon {
      width: 24px;
      height: 24px;
      display: inline-block;
      vertical-align: middle;
      background: url('../assets/icon/return.png') no-repeat center;
      background-size: 100%;
      margin-right: 8px;
    }
    .ifa_iframe_invisible {
      position: absolute !important;
      clip: rect(1px 1px 1px 1px);
      /* IE6, IE7 */
      clip: rect(1px, 1px, 1px, 1px);
    }
    .ifa_bottom_invisible {
      width: 100%;
      height: 70px;
      margin: 0;
      display: block;
    }
    .ifa_iframe_placeholder {
      min-height: 296px;
      padding-top: 156px;
      text-align: center;
      color: #fff;
      font-size: 18px;
      position: relative;
      .webuploader-pick {
        background: #FFF;
        svg {
          height: 24px;
          width: 24px;
          vertical-align: middle;
        }
      }
      .flashTip {
        color: #666666;
        font-size: 12px;
        position: absolute;
        width: 100%;
        text-align: center;
        bottom: 20px;
        a {
          color: #0785d1;
          text-decoration: none;
          &:hover {
            text-decoration: underline;
          }
        }
      }
    }
  }

  /*图片列表*/
  .ifa_iframe_filelist {
    list-style: none;
    margin: 0;
    padding: 0;
    &:after {
      content: '';
      display: block;
      width: 0;
      height: 0;
      overflow: hidden;
      clear: both;
    }
    li {
      width: 90px;
      height: 90px;
      background: #ececec;
      text-align: center;
      margin: 10px 0 0 15px;
      position: relative;
      display: inline;
      float: left;
      overflow: hidden;
      font-size: 12px;
      p {
        &.log {
          position: relative;
          top: -45px;
        }
        &.ifa_iframe_title {
          display: none;
          position: absolute;
          top: 0;
          left: 0;
          width: 100%;
          overflow: hidden;
          white-space: nowrap;
          text-overflow: ellipsis;
          top: 5px;
          text-indent: 5px;
          text-align: left;
        }
        &.ifa_iframe_progress {
          position: absolute;
          width: 100%;
          bottom: 0;
          left: 0;
          height: 8px;
          overflow: hidden;
          z-index: 50;
          margin: 0;
          border-radius: 0;
          background: none;
          -webkit-box-shadow: 0 0 0;
          span {
            display: none;
            overflow: hidden;
            width: 0;
            height: 100%;
            background: #1483d8 url(../images/progress.png) repeat-x;
            -webit-transition: width 200ms linear;
            -moz-transition: width 200ms linear;
            -o-transition: width 200ms linear;
            -ms-transition: width 200ms linear;
            transition: width 200ms linear;
            -webkit-animation: progressmove 2s linear infinite;
            -moz-animation: progressmove 2s linear infinite;
            -o-animation: progressmove 2s linear infinite;
            -ms-animation: progressmove 2s linear infinite;
            animation: progressmove 2s linear infinite;
            -webkit-transform: translateZ(0);
          }
        }
        &.ifa_iframe_imgWrap {
          position: relative;
          z-index: 2;
          line-height: 110px;
          vertical-align: middle;
          overflow: hidden;
          width: 90px;
          height: 90px;
          display: flex;
          align-items: center;
          align-content: center;
          justify-content: center;
          -webkit-transform-origin: 50% 50%;
          -moz-transform-origin: 50% 50%;
          -o-transform-origin: 50% 50%;
          -ms-transform-origin: 50% 50%;
          transform-origin: 50% 50%;
          -webit-transition: 200ms ease-out;
          -moz-transition: 200ms ease-out;
          -o-transition: 200ms ease-out;
          -ms-transition: 200ms ease-out;
          transition: 200ms ease-out;
        }
        &.ifa_iframe_error {
          background: #f43838;
          color: #fff;
          position: absolute;
          bottom: 0;
          left: 0;
          height: 28px;
          line-height: 28px;
          width: 100%;
          z-index: 100;
        }
      }
      img {
        width: auto;
        height: auto;
        max-width: 100px;
        max-height: 100px;
      }
      .ifa_iframe_success {
        display: block;
        position: absolute;
        left: 0;
        bottom: 0;
        height: 40px;
        width: 100%;
        z-index: 200;
        background: url(../images/success.png) no-repeat right bottom;
      }
    }
    div {
      &.ifa_iframe_filepanel {
        position: absolute;
        height: 0;
        //filter: progid: DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr='#80000000', endColorstr='#80000000') \0;
        background: rgba(0, 0, 0, 0.5);
        width: 100%;
        top: 0;
        left: 0;
        overflow: hidden;
        z-index: 300;
        span {
          width: 26px;
          height: 26px;
          display: inline;
          float: right;
          text-indent: -9999px;
          overflow: hidden;
          background: url(../assets/icon/icons.png) no-repeat;
          margin: 5px 1px 1px;
          cursor: pointer;
          &.ifa_iframe_rotateLeft {
            background-position: 0 -24px;
            display: none;
            &:hover {
              background-position: 0 0;
            }
          }
          &.ifa_iframe_rotateRight {
            background-position: -24px -24px;
            display: none;
            &:hover {
              background-position: -24px 0;
            }
          }
          &.ifa_iframe_cancel {
            background-position: -48px -24px;
            &:hover {
              background-position: -48px 0;
            }
          }
        }
      }
    }
  }

  /*第二屏*/
  .ifa_if_info {
    position: relative;

    .ifa_iframe_list {
      margin: 0px;
      width: 100%;
      height: 380px;
      background: #fff;
      overflow-x: hidden;
      overflow-y: scroll;
    }
    /*添加信息显示*/
    .ifa_iframe_statusBar {
      border-top: 1px solid #e2e2e2;
      padding: 0;
      line-height: 80px;
      vertical-align: middle;
      position: relative;
      display: block;
      width: 100%;
      //height: 80px;
      margin: 0;
      background: #fff;
      //border-top: 1px solid #999;
      .ifa_iframe_progress {
        //border: 1px solid #1483d8;
        width: 198px;
        background: #fff;
        height: 18px;
        position: relative;
        display: inline-block;
        text-align: center;
        line-height: 20px;
        color: #6dbfff;
        position: relative;
        margin: 0 10px 0 0;
        span {
          &.ifa_iframe_percentage {
            width: 0;
            height: 100%;
            left: 0;
            top: 0;
            //background: #1483d8;
            position: absolute;
          }
          &.ifa_iframe_text {
            position: relative;
            z-index: 10;
          }
        }
      }
      .ifa_iframe_info {
        display: inline-block;
        font-size: 14px;
        color: #f24850;
        margin: 0 20px;
      }

    }

    /*第二屏按钮*/
    .ifa_iframe_btns {
      position: absolute;
      top: 20px;
      right: 20px;
      line-height: 40px;
      .ifa_iframe_uploadBtn {
        background: #fff;
        color: #333;
        border: 1px solid #333;
        width: 85px;
        text-align: center;
        &:hover {
          background: #FFF;
        }
        &.disabled {
          /*pointer-events: none;*/
          opacity: 0.6;
        }
        .ifa_iframe_btns {
          position: absolute;
          top: 10px;
          right: 20px;
          line-height: 40px;
          .ifa_iframe_pick,
          .ifa_iframe_uploadBtn,
          .ifa_iframe_uploadBtn.state-uploading,
          .ifa_iframe_uploadBtn.state-paused {
            background: #333;
            /*border: 1px solid #cfcfcf;*/
            color: #fff;
            display: inline-block;
            border-radius: 3px;
            margin-left: 10px;
            margin-top: 8px;
            cursor: pointer;
            font-size: 14px;
            float: left;
          }
          .webuploader-pick-hover,
          .ifa_iframe_uploadBtn:hover,
          .ifa_iframe_uploadBtn.state-uploading:hover,
          .ifa_iframe_uploadBtn.state-paused:hover {
            background: #FFF;
          }
          .ifa_iframe_uploadBtn {
            background: #fff;
            color: #333;
            border: 1px solid #333;
            width: 150px;
            text-align: center;
            height: 40px;
            &:hover {
              background: #FFF;
            }
            &.disabled {
              /*pointer-events: none;*/
              opacity: 0.6;
            }
          }
          .webuploader-pick {
            padding: 1px 15px;
          }
        }
        .webuploader-pick {
          padding: 1px 15px;
        }
      }
    }
    .ifa_iframe_filePicker2 {
      display: inline-block;
      float: left;
      .webuploader-pick {
        background: #FFF;
        padding: 0 15px;
        svg {
          height: 24px;
          width: 24px;
          vertical-align: middle;
        }
        .ifa_iframe_add {
          width: 130px;
          font-size: 16px;
          border: 1px solid #333;
          line-height: 46.4px;
          height: 46.4px;
          padding: 0 25px;
          *width: 120px;
          color: #fff;
          background: #333;
          display: inline-block;
          cursor: pointer;
          box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
          svg {
            margin-right: 8px;
          }
        }
      }
    }
    .ifa_iframe_OK {
      width: 24px;
      height: 24px;
      display: inline-block;
      vertical-align: middle;
      background: url('../assets/icon/okbtn.png') no-repeat center;
      background-size: 24px 24px;
      margin-right: 8px;
    }
  }

  @-webkit-keyframes progressmove {
    0% {
      background-position: 0 0;
    }
    100% {
      background-position: 17px 0;
    }
  }
  @-moz-keyframes progressmove {
    0% {
      background-position: 0 0;
    }
    100% {
      background-position: 17px 0;
    }
  }
  @keyframes progressmove {
    0% {
      background-position: 0 0;
    }
    100% {
      background-position: 17px 0;
    }
  }
}

.ifa_iframe_filePicker div:nth-child(2) {
  left: 263px !important;
  width: 224px !important;
  height: 48px !important;
  top: 10px !important;
}

.ifa_iframe_filePicker2 div:nth-child(2) {
  left: 15px !important;
  width: 182px !important;
  height: 48px !important;
}

